home *** CD-ROM | disk | FTP | other *** search
- Path: zetnet.co.uk!demon!mjeff.demon.co.uk
- From: mick@mjeff.demon.co.uk (mick)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: ds.l
- Date: Tue, 06 Feb 1996 20:07:23 GMT
- Message-ID: <448.6610T1169T601@mjeff.demon.co.uk>
- References: <497.6609T1129T586@mbox3.swipnet.se> <4f7j1k$dfs@helios.cto.us.edu.pl>
- NNTP-Posting-Host: mjeff.demon.co.uk
- X-NNTP-Posting-Host: mjeff.demon.co.uk
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
-
- On 06-Feb-96 17:54:12 Grzegorz Calkowski wrote
- >Patrik Nilsson (patrik.nilsson@mbox3.swipnet.se) wrote:
- >: When using FileInfoBlock it must be long word aligned.
- >: Q: In asm you have 'ds.l'. Is there any equal in C?
-
- >You're wrong!! FIB must be on 8 bytes boundary, not 4 bytes! The best way
- >to achieve that is to use AllocDosObject(), which returns an allocated &
- >initialized fib for you.
-
- Nope! FIB must be longword aligned (4 bytes).
-
-
- Mick.
-
-